<!--
 * @Author: xinqiao lxq1990.0716@qq.com
 * @Date: 2023-11-29 10:57:44
 * @LastEditors: xinqiao lxq1990.0716@qq.com
 * @LastEditTime: 2024-01-04 18:22:58
 * @FilePath: \partal\src\views\design\contribute.vue
 * @Description: 开发指南-贡献指南
-->

<script lang="ts" setup>
  import { usePlant } from '@/stores/plant'
  import { PLANTTYPE_ENUM } from '@/enum/globalEnum'
  import ContributePc from './components/ContributePc.vue'
  import ContributeXcx from './components/ContributeXcx.vue'
  import ContributeH5 from './components/ContributeH5.vue'
  
  const plant = usePlant()
</script>

<template>
  <div class="contribute">
    <ContributePc v-if="plant.plantType === PLANTTYPE_ENUM.PC" />
    <ContributeXcx v-if="plant.plantType === PLANTTYPE_ENUM.XCX" />
    <ContributeH5 v-if="plant.plantType === PLANTTYPE_ENUM.H5" />
  </div>
</template>

<style type="less" scoped>
  .contribute {
    width: 988px;
    height: 100%;
    margin: auto;
    padding-top: 36px;
  }
</style>
